package com.ruoyi.brs.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 管理租赁用户信息对象 brs_user
 * 
 * @author ruoyi
 * @date 2025-01-12
 */
public class BrsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 用户积分 */
    @Excel(name = "用户积分")
    private Long userPoints;

    /** 用户冻结积分 */
    @Excel(name = "用户冻结积分")
    private Long userFrozenPoints;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setUserPoints(Long userPoints) 
    {
        this.userPoints = userPoints;
    }

    public Long getUserPoints() 
    {
        return userPoints;
    }
    public void setUserFrozenPoints(Long userFrozenPoints)
    {
        this.userFrozenPoints = userFrozenPoints;
    }

    public Long getUserFrozenPoints()
    {
        return userFrozenPoints;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("balance", getBalance())
            .append("userPoints", getUserPoints())
            .append("userFrozenPoints", getUserFrozenPoints())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
